package com.cmccgz.baselibrary.base;

import android.view.View;
import android.widget.TextView;

import com.cmccgz.baselibrary.R;

;

/**
 * @author: Huang
 * @Descripion: 无数据ViewHolder
 * @date 2016/7/6 12:35
 */
public class NoDataViewHolder extends BaseHolder {

    private TextView xlvNoDataText;

    public NoDataViewHolder(View itemView) {
        super(itemView);
    }

    @Override
    public void assignViews() {
        xlvNoDataText = (TextView)findViewById(R.id.tv_text);
    }

    @Override
    public void instanceView(int position) {

    }

    /**
     * 设置文本
     * @param text
     */
    public void setText(String text){
        xlvNoDataText.setText(text);
    }
}
